package com.huirui.server.service;

import com.huirui.server.pojo.dto.CouponDto;
import com.huirui.server.pojo.entity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huirui.server.pojo.result.PageResult;
import jakarta.validation.Valid;

/**
* @author yujun
* @description 针对表【t_coupon】的数据库操作Service
* @createDate 2025-10-28 22:32:33
*/
public interface CouponService extends IService<Coupon> {

    void addNewCoupon(@Valid CouponDto couponDto);

    PageResult<CouponDto> listCoupon(String keyword, Integer status, Long page, Long pageSize);

    void updateCoupon(@Valid CouponDto couponDto);

    void deleteCoupon(Long couponId);

}
